/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.report.paymentcostlog.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.apestar.common.persistence.Page;
import cn.apestar.common.service.CrudService;
import cn.apestar.modules.report.paymentcostlog.dao.PaymentCostLogDao;
import cn.apestar.modules.report.paymentcostlog.entity.PaymentCostLog;

/**
 * 现金支付日志Service
 * @author yudw
 * @version 2016-09-27
 */
@Service
@Transactional(readOnly = true)
public class PaymentCostLogService extends CrudService<PaymentCostLogDao, PaymentCostLog> {

    public PaymentCostLog get(String id) {
        return super.get(id);
    }

    public List<PaymentCostLog> findList(PaymentCostLog paymentCostLog) {
        return super.findList(paymentCostLog);
    }

    public Long sumMoney(PaymentCostLog paymentCostLog) {
        return dao.sumMoney(paymentCostLog);
    }

    public Page<PaymentCostLog> findPage(Page<PaymentCostLog> page, PaymentCostLog paymentCostLog) {
        return super.findPage(page, paymentCostLog);
    }

    @Transactional(readOnly = false)
    public void save(PaymentCostLog paymentCostLog) {
        super.save(paymentCostLog);
    }

    @Transactional(readOnly = false)
    public void delete(PaymentCostLog paymentCostLog) {
        super.delete(paymentCostLog);
    }

}